<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>模版继承</title>
    <style>
        * {
            margin: 0;
        }
        .nav {
            height: 50px;
            position: fixed;
            width: 100%;
            top: 0;
            background-color: burlywood;
        }
        .main {
            margin-top: 50px;
        }
        .menu {
            width: 20%;
            position: fixed;
            left: 0;
            height: 100%;
            background-color: cornflowerblue;
        }
        .center {
            text-align: center;
        }
        .content {
            position: fixed;
            left: 20%;
            height: 100%;
            width: 80%;
            background-color: coral;
        }
    </style>
</head>
<body>

<div class="nav">
</div>
<div class="main">
    <div class="menu">
        <h2>你好 {{ .user }}</h2>
    </div>
    <div class="content center">
        <p>{{ .psw }}</p>
        <img src="https://pic.baike.soso.com/ugc/baikepic2/0/ori-20170802234015-665326176_jpg_960_1706_219550.jpg/800">
    </div>
</div>



</body>

</html>